package com.efast.dmom.mgmt.service.mes.impl;

import java.util.List;

import com.efast.dmom.mgmt.dao.mes.TeProductInboundDao;
import com.efast.dmom.mgmt.entity.mes.TeProductInbound;
import com.efast.dmom.mgmt.service.mes.TeProductInboundService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service(value = "teProductInboundServiceImpl")
public class TeProductInboundServiceImpl implements TeProductInboundService {
	
	@Autowired
	private TeProductInboundDao teProductInboundDao;

	/**
	 * TODO 简单描述该方法的实现功能（可选）.
	 * 
	 * @see com.efast.emfg.remote.mes.TeProductInboundService#selectNewTeProductInbound(com.efast.emfg.utils.Assist)
	 */
	@Override
	public List<TeProductInbound> selectNewTeProductInbound() {
		return teProductInboundDao.selectNewTeProductInbound();
	}

	@Override
	public long getTeProductInboundRowCount(Assist assist) {
		return teProductInboundDao.getTeProductInboundRowCount(assist);
	}

	@Override
	public List<TeProductInbound> selectTeProductInbound(Assist assist) {
		return teProductInboundDao.selectTeProductInbound(assist);
	}

	@Override
	public TeProductInbound selectTeProductInboundByObj(TeProductInbound obj) {
		return teProductInboundDao.selectTeProductInboundByObj(obj);
	}

	@Override
	public TeProductInbound selectTeProductInboundById(Integer id) {
		return teProductInboundDao.selectTeProductInboundById(id);
	}

	@Override
	public int insertTeProductInbound(TeProductInbound value) {
		return teProductInboundDao.insertTeProductInbound(value);
	}

	@Override
	public int insertNonEmptyTeProductInbound(TeProductInbound value) {
		return teProductInboundDao.insertNonEmptyTeProductInbound(value);
	}

	@Override
	public int insertTeProductInboundByBatch(List<TeProductInbound> value) {
		return teProductInboundDao.insertTeProductInboundByBatch(value);
	}

	@Override
	public int deleteTeProductInboundById(Integer id) {
		return teProductInboundDao.deleteTeProductInboundById(id);
	}

	@Override
	public int deleteTeProductInbound(Assist assist) {
		return teProductInboundDao.deleteTeProductInbound(assist);
	}

	@Override
	public int updateTeProductInboundById(TeProductInbound enti) {
		return teProductInboundDao.updateTeProductInboundById(enti);
	}

	@Override
	public int updateTeProductInbound(TeProductInbound value, Assist assist) {
		return teProductInboundDao.updateTeProductInbound(value, assist);
	}

	@Override
	public int updateNonEmptyTeProductInboundById(TeProductInbound enti) {
		return teProductInboundDao.updateNonEmptyTeProductInboundById(enti);
	}

	@Override
	public int updateNonEmptyTeProductInbound(TeProductInbound value, Assist assist) {
		return teProductInboundDao.updateNonEmptyTeProductInbound(value, assist);
	}

	public TeProductInboundDao getTeProductInboundDao() {
		return this.teProductInboundDao;
	}

	public void setTeProductInboundDao(TeProductInboundDao teProductInboundDao) {
		this.teProductInboundDao = teProductInboundDao;
	}
	@Override
	public TeProductInbound getInboundPackInfo(String boxNumber) {
		return teProductInboundDao.getInboundPackInfo(boxNumber);
	}

}